home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1993 December
/
PSL Monthly Shareware CD-ROM (December 1993).iso
/
prgmming
/
dos
/
c
/
filarry.exe
/
DTEST.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1993-04-16
|
284b
|
18 lines
// dtest.cpp -- a test program
#include "filarray.h"
int main(int argc, char* argv[])
{
if( argc != 2 ) {
cout << "dtest filename.sdt" << endl;
return 1;
}
FileArray msg(argv[1]);
for(int i=0; msg[i]!=NULL; i++) {
cout << msg[i] << endl;
}
return 0;
}